Carbon


DMRemoveExtendedNotifyProc

Header: Displays.h Carbon status: Modified

Removes your Display Notice event-handling function registered by the DMRegisterExtendedNotifyProc function.

OSErr DMRemoveExtendedNotifyProc (
    DMExtendedNotificationUPP notifyProc, 
    void *notifyUserData, 
    ProcessSerialNumberPtr whichPSN, 
    UInt16 removeFlags
);
notifyProc

A pointer to your function you want to remove that handles a Display Notice event.

notifyUserData

A pointer to caller-specific information which the Display Manager will return to your application when you request it.

whichPSN

Reserved for future expansion. Pass NULL in this parameter.

removeFlags

A pointer to the Process Serial Number associated with your Display Notice event-handling function. If this process terminates, the Display Notice event-handling function is automatically removed. For example, the Monitors control panel supplies the Finderís process number when registering its Display Notice event-handling function.

function result

A result code.

SPECIAL CONSIDERATIONS

Because this function may move or purge memory blocks or access handles, you cannot call it at interrupt time.

AVAILABILITY

Modified in Carbon. Available in CarbonLib 1.0 and later when DisplayLib 2.0 or later is installed. Exported by CarbonLib 1.0 and later and by DisplayLib 2.0 and later.


© 2000 Apple Computer, Inc. — (Last Updated 3/8/2000)